import { createApp } from 'vue';
import router from '@/router';
import '@/styles/index.scss' // global css
import '@/styles/ruoyi.scss' // ruoyi css
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import pinia from './store/index'
// const pinia = createPinia()
import App from './App.vue'
const app = createApp(App)
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(ElementPlus)
app.use(router)
app.use(pinia)
app.mount('#app')

